package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档管理对象 biz_data_doc
 * 
 * @author ruoyi
 * @date 2024-09-02
 */
public class BizDataDoc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 文档名称 */
    @Excel(name = "文档名称")
    private String docName;

    /** 文档地址 */
    @Excel(name = "文档地址")
    private String docUrl;

    /** 文档类型 */
    @Excel(name = "文档类型")
    private String docType;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 点击数量 */
    @Excel(name = "点击数量")
    private Long clickNum;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTiem;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDocName(String docName) 
    {
        this.docName = docName;
    }

    public String getDocName() 
    {
        return docName;
    }

    public void setDocUrl(String docUrl) 
    {
        this.docUrl = docUrl;
    }

    public String getDocUrl() 
    {
        return docUrl;
    }

    public void setDocType(String docType) 
    {
        this.docType = docType;
    }

    public String getDocType() 
    {
        return docType;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setClickNum(Long clickNum) 
    {
        this.clickNum = clickNum;
    }

    public Long getClickNum() 
    {
        return clickNum;
    }

    public void setCreateTiem(Date createTiem) 
    {
        this.createTiem = createTiem;
    }

    public Date getCreateTiem() 
    {
        return createTiem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("docName", getDocName())
            .append("docUrl", getDocUrl())
            .append("docType", getDocType())
            .append("uploadTime", getUploadTime())
            .append("clickNum", getClickNum())
            .append("createTiem", getCreateTiem())
            .toString();
    }
}
